<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我的生活</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
</head>
<body>
<div class="page-group">
    <div class="page page-current">
        <header class="bar bar-nav">
            <a class="button button-link button-nav pull-left" href="/demos/card" th:href="@{/fList(pageIndex=1)}">
                <span class="icon icon-left"></span>
                返回
            </a>
            <h1 class="title">稿件详情</h1>
        </header>
        <div class="content" th:object="${contribution}">
            <div class="list-block" style="margin: -7px 0;">
                <ul>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-name"></i></div>
                            <div class="item-inner" style="padding-bottom: .7rem;padding-top: .7rem;">
                                <div class="item-title label">所在学校</div>
                                <div class="item-input">
                                    <input type="text" readonly="readonly" th:value="*{school}" id="school" placeholder="所在学校">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-email"></i></div>
                            <div class="item-inner">
                                <div class="item-title label">所在班级</div>
                                <div class="item-input">
                                    <input type="text" readonly="readonly" th:value="*{className}" placeholder="所在学校">

                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-password"></i></div>
                            <div class="item-inner">
                                <div class="item-title label">小记者姓名</div>
                                <div class="item-input">
                                    <input type="text" readonly="readonly" th:value="*{reporterName}" id="reporterName" placeholder="小记者姓名">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-password"></i></div>
                            <div class="item-inner">
                                <div class="item-title label">小记者证号</div>
                                <div class="item-input">
                                    <input type="text" readonly="readonly" id="reporterNum" th:value="*{reporterNum}" placeholder="小记者证号">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-password"></i></div>
                            <div class="item-inner">
                                <div class="item-title label">指导老师</div>
                                <div class="item-input">
                                    <input type="text" readonly="readonly" id="teacher" th:value="*{teacher}" placeholder="指导老师">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-password"></i></div>
                            <div class="item-inner">
                                <div class="item-title label">投稿标题</div>
                                <div class="item-input">
                                    <input type="text" id="title" readonly="readonly" th:value="*{title}" placeholder="投稿标题">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="align-top" style="padding-bottom: 15px;">
                        <div class="item-content">
                            <div class="item-media"><i class="icon icon-form-comment"></i></div>
                            <div class="item-inner">
                                <div class="item-input">
                                    <textarea th:text="*{content}" readonly="readonly" id="content" style="margin-top: 15px;border: 1px solid #ccc;height: 11rem;" placeholder="投稿内容"></textarea>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
<script type="text/javascript" th:inline="javascript">
    var ajaxUri = /*[[@{/submit}]]*/ 1;
    var currentPage = /*[[@{/fList}]]*/ "";
</script>
<script type="text/javascript">

</script>
</body>
</html>